﻿using System;
using System.Collections.Generic;
using System.Text;
using SimpleLinearAlgebra;
using System.IO;
using MathNet.Numerics.LinearAlgebra;

namespace BarStructures.Utils
{
    class DbgPrint
    {
        private static string path = @"J:\Dev\C#\BarStructures\debug_output\";

        public static void SimpleMatrix(SimpleMatrix mx, string fileName)
        {
            using (StreamWriter writer = new StreamWriter(path + fileName))
                mx.Print(writer, "", '\t');
        }

        public static void Matrix(Matrix mx, string fileName)
        {
            using (StreamWriter writer = new StreamWriter(path + fileName))
                writer.Write(mx.ToString());
        }
    }
}
